package back;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;

@ManagedBean(name = "locale")
@SessionScoped
public class Locale {

    private String locale = "cs";

    public Locale() {
        
    }

    public void setLocale(String locale) {
        this.locale = locale;
    }

    public String getLocale() {
        return locale;
    }

    public String changeLanguage(String locale) {
        this.locale = locale;

        return "#";
    }
}
